package com.gotokeep.keep.composition.source;

/**
 * @author xana/cuixianming
 * @version 1.0
 * @since 2018/5/4 23:18
 */
public interface VideoSource {
    /**
     * @param textureType one of {@link android.opengl.GLES20#GL_TEXTURE_2D} and
     * {@link android.opengl.GLES11Ext#GL_TEXTURE_EXTERNAL_OES}
     * @param textureId   id of texture in OpenGL ES
     */
    void setOutputTexture(int textureType, int textureId);

    void updateTexImage();
}
